package com.paypal.android.a.a;

import com.paypal.android.a.j;
import com.paypal.android.a.o;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;

public final class g
{
  private String a;
  private String b;

  public static g a(Element paramElement)
  {
    if (paramElement == null);
    g localg;
    NodeList localNodeList1;
    do
    {
      return null;
      localg = new g();
      localNodeList1 = paramElement.getElementsByTagName("type");
    }
    while (localNodeList1.getLength() != 1);
    localg.b = o.a(((Element)localNodeList1.item(0)).getChildNodes());
    NodeList localNodeList2 = paramElement.getElementsByTagName("lastFourOfAccountNumber");
    if (localNodeList2.getLength() == 1)
      localg.a = o.a(((Element)localNodeList2.item(0)).getChildNodes());
    NodeList localNodeList3 = paramElement.getElementsByTagName("displayName");
    if (localNodeList3.getLength() == 1)
      o.a(((Element)localNodeList3.item(0)).getChildNodes());
    return localg;
  }

  public final String a()
  {
    if (this.b != null)
    {
      if (this.b.equals("BALANCE"))
        return j.a("ANDROID_balance");
      if ((this.b.equals("BANK_DELAYED")) || (this.b.equals("BANK_INSTANT")))
        return j.a("ANDROID_bank");
      if ((this.b.equals("CREDITCARD")) || (this.b.equals("DEBITCARD")))
        return j.a("ANDROID_card");
      return this.b;
    }
    return "";
  }

  public final void a(String paramString)
  {
    this.a = paramString;
  }

  public final String b()
  {
    return this.a;
  }

  public final void b(String paramString)
  {
    this.b = paramString;
  }

  public final String c()
  {
    return this.b;
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.a.a.g
 * JD-Core Version:    0.6.2
 */